package com.cskaoyan.wx.vo;

import java.math.BigDecimal;
import java.util.List;

/**
 * @description:
 * @author: libugu@cskaoyan.com
 * @date 2021/4/12 - 17:30
 */
public class ListShowTypeVo {


    /**
     * data : [{"orderStatusText":"已收货","isGroupin":false,"orderSn":"20200427823188","actualPrice":199,"goodsList":[{"number":1,"picUrl":"http://yanxuan.nosdn.127.net/cf40c167e7054fe184d49f19121f63c7.png","id":4,"goodsName":"纯棉美式绞花针织盖毯"}],"id":4,"handleOption":{"cancel":false,"delete":true,"pay":false,"comment":true,"confirm":false,"refund":false,"rebuy":true}},{"orderStatusText":"已收货","isGroupin":false,"orderSn":"20200427674885","actualPrice":2599,"goodsList":[{"number":1,"picUrl":"http://yanxuan.nosdn.127.net/45548f26cfd0c7c41e0afc3709d48286.png","id":2,"goodsName":"宫廷奢华真丝四件套"}],"id":2,"handleOption":{"cancel":false,"delete":true,"pay":false,"comment":true,"confirm":false,"refund":false,"rebuy":true}}]
     * count : 2
     * totalPages : 1
     */

    private int count;
    private int totalPages;
    private List<DataBean> data;

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    public int getTotalPages() {
        return totalPages;
    }

    public void setTotalPages(int totalPages) {
        this.totalPages = totalPages;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * orderStatusText : 已收货
         * isGroupin : false
         * orderSn : 20200427823188
         * actualPrice : 199
         * goodsList : [{"number":1,"picUrl":"http://yanxuan.nosdn.127.net/cf40c167e7054fe184d49f19121f63c7.png","id":4,"goodsName":"纯棉美式绞花针织盖毯"}]
         * id : 4
         * handleOption : {"cancel":false,"delete":true,"pay":false,"comment":true,"confirm":false,"refund":false,"rebuy":true}
         */

        private String orderStatusText;
        private boolean isGroupin;
        private String orderSn;
        private BigDecimal actualPrice;
        private int id;

        public DataBean(HandleOptionBean handleOption) {
            this.handleOption = handleOption;
        }

        public DataBean() {
        }

        private HandleOptionBean handleOption;
        private List<GoodsListBean> goodsList;

        public String getOrderStatusText() {
            return orderStatusText;
        }

        public void setOrderStatusText(String orderStatusText) {
            this.orderStatusText = orderStatusText;
        }

        public boolean isIsGroupin() {
            return isGroupin;
        }

        public void setIsGroupin(boolean isGroupin) {
            this.isGroupin = isGroupin;
        }

        public String getOrderSn() {
            return orderSn;
        }

        public void setOrderSn(String orderSn) {
            this.orderSn = orderSn;
        }

        public BigDecimal getActualPrice() {
            return actualPrice;
        }

        public void setActualPrice(BigDecimal actualPrice) {
            this.actualPrice = actualPrice;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public HandleOptionBean getHandleOption() {
            return handleOption;
        }

        public void setHandleOption(HandleOptionBean handleOption) {
            this.handleOption = handleOption;
        }

        public List<GoodsListBean> getGoodsList() {
            return goodsList;
        }

        public void setGoodsList(List<GoodsListBean> goodsList) {
            this.goodsList = goodsList;
        }

        public static class HandleOptionBean {
            /**
             * cancel : false
             * delete : true
             * pay : false
             * comment : true
             * confirm : false
             * refund : false
             * rebuy : true
             */

            private boolean cancel;
            private boolean delete;
            private boolean pay;
            private boolean comment;
            private boolean confirm;
            private boolean refund;
            private boolean rebuy;

            public boolean isCancel() {
                return cancel;
            }

            public void setCancel(boolean cancel) {
                this.cancel = cancel;
            }

            public boolean isDelete() {
                return delete;
            }

            public void setDelete(boolean delete) {
                this.delete = delete;
            }

            public boolean isPay() {
                return pay;
            }

            public void setPay(boolean pay) {
                this.pay = pay;
            }

            public boolean isComment() {
                return comment;
            }

            public void setComment(boolean comment) {
                this.comment = comment;
            }

            public boolean isConfirm() {
                return confirm;
            }

            public void setConfirm(boolean confirm) {
                this.confirm = confirm;
            }

            public boolean isRefund() {
                return refund;
            }

            public void setRefund(boolean refund) {
                this.refund = refund;
            }

            public boolean isRebuy() {
                return rebuy;
            }

            public void setRebuy(boolean rebuy) {
                this.rebuy = rebuy;
            }
        }

        public static class GoodsListBean {
            /**
             * number : 1
             * picUrl : http://yanxuan.nosdn.127.net/cf40c167e7054fe184d49f19121f63c7.png
             * id : 4
             * goodsName : 纯棉美式绞花针织盖毯
             */

            private int number;
            private String picUrl;
            private int id;
            private String goodsName;

            public int getNumber() {
                return number;
            }

            public void setNumber(int number) {
                this.number = number;
            }

            public String getPicUrl() {
                return picUrl;
            }

            public void setPicUrl(String picUrl) {
                this.picUrl = picUrl;
            }

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getGoodsName() {
                return goodsName;
            }

            public void setGoodsName(String goodsName) {
                this.goodsName = goodsName;
            }
        }
    }
}
